<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Bantuan extends Practice_Test{
	public function paging($url,$totalRows,$perPage){
		//paging start
		$this->load->library('pagination');
		$config['base_url'] = $url;
		$config['total_rows'] = $totalRows;
		$config['per_page'] = $perPage;
		$config['page_query_string'] = TRUE;
		$this->pagination->initialize($config); 
		return $this->pagination->create_links();
		//paging end
	}
}